package com.hrt.bean;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/***********************************************************************
 * Module: ViewResource.java Author: Administrator Purpose: Defines the
 * Class ViewResource
 ***********************************************************************/
@Entity
@Table(name = "VIEW_RESOURCE")
public class ViewResource implements Serializable {
	

	/**
	 * 访问资源表
	 * 
	 * @pdOid aa60aa97-bf74-473e-8a4f-b615c08d13ad
	 */

	/**
	 * 
	 */
	private static final long serialVersionUID = 7329678136414944632L;
	/** @pdOid ae68807d-7cac-4e76-bfcc-7da2a6e9c9d3 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "VR_ID")
	private Long id;
	/** @pdOid 1fd28c00-c61c-4ab3-8143-c3c4e6678809 */
	@Column(name = "VR_CODE", nullable = false)
	private java.lang.String vrCode;
	
	@Column(name = "VR_NAME", nullable = false)
	private java.lang.String vrName;
	/** @pdOid 51013d42-f08a-4704-a3b2-cc9bf19ed367 */
	@Column(name = "URL", nullable = false)
	private java.lang.String url;
	/** @pdOid 899b8364-10fc-4ec5-b94c-822fc4b1714f */
	@Column(name = "ISDELETE", nullable = false)
	private Integer isdelete=0;
	/** @pdOid 90f9e2db-961e-4057-8dc1-2447b8e7c0a6 */
	@Column(name = "NOTE")
	private java.lang.String note;
	
	@Column(name = "SCOPE",nullable=false)
	private Integer scope=0;
	
	@Column(name = "CREATE_TIME",nullable=false)
	private Timestamp createTime;
	
	@Column(name = "CREATOR",nullable=false)
	private String creator;
	
	@Column(name = "EDITOR",nullable=false)
	private String editor;
	
	@Column(name = "EDIT_TIME",nullable=false)
	private Timestamp editTime;

	public Timestamp getCreateTime() {
		return createTime;
	}

	public String getCreator() {
		return creator;
	}

	public String getEditor() {
		return editor;
	}

	public Timestamp getEditTime() {
		return editTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public void setEditTime(Timestamp editTime) {
		this.editTime = editTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	

	public java.lang.String getVrCode() {
		return vrCode;
	}

	public java.lang.String getUrl() {
		return url;
	}

	

	public java.lang.String getNote() {
		return note;
	}

	public void setVrCode(java.lang.String vrCode) {
		this.vrCode = vrCode;
	}

	public void setUrl(java.lang.String url) {
		this.url = url;
	}

	
	public void setNote(java.lang.String note) {
		this.note = note;
	}

	public Integer getScope() {
		return scope;
	}

	public void setScope(Integer scope) {
		this.scope = scope;
	}

	public java.lang.String getVrName() {
		return vrName;
	}

	public void setVrName(java.lang.String vrName) {
		this.vrName = vrName;
	}

	public Integer getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

}
